package com.community.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.community.mapper.OrderDetailsMapper;
import com.community.mapper.PayDetailsMapper;
import com.community.pojo.OrderDetails;
import com.community.service.IOrderDetailsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrderDetailsServiceImpl extends ServiceImpl<OrderDetailsMapper, OrderDetails> implements IOrderDetailsService {

    @Autowired
    private OrderDetailsMapper orderDetailsMapper;

    @Override
    public List<OrderDetails> orderDetailsList() {
        return orderDetailsMapper.orderDetailsList();
    }
}
